package com.css.fxfzysx.modules.vaolEngineering.repository;

import com.css.fxfzysx.modules.lifeline.entity.newEntity.SmxRoadEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.CbVulnerabilityEntity;
import com.css.fxfzysx.modules.vaolEngineering.entity.CrVulnerabilityEntity;
import com.css.fxfzysx.modules.vaolEngineering.param.update.RoadParam;

import java.util.List;

public interface CarVulnerabilityRepository {
    SmxRoadEntity getById(String carId);

    List<CrVulnerabilityEntity> getVulnerabilityById(String id);

    boolean saveRoad(SmxRoadEntity data);

    List<SmxRoadEntity> getByVersionId(String id);

    void saveRoadResult(SmxRoadEntity roadEntity);

    SmxRoadEntity getByTableId(String id);

    void updateRoadById(RoadParam roadParam);
}
